<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<link href="css/index.css" rel="stylesheet" type="text/css" />

<html>
    <head>
        <meta charset="UTF-8">
        <title>添加员工</title>
        <style type="text/css">
           
        </style>
    </head>
    <body>
        <div class="box">

            <div class="submit" style="margin-left: 600px;">
                <form action="" method="post">
                <h2>编辑员工</h2>
                姓名：<input id="name" type="text" name="e_name" value="<?php echo $row["e_name"]  ?>" /><br/><br/>
                所属部门：
                <select name="e_dept" <?php echo $row['e_dept']  ?>>
                    <option value="人事部">人事部</option>
                    <option value="营销部">营销部</option>
                    <option value="市场部">市场部</option>
                    <option value="财务部">财务部</option>
                    <option value="市场部">媒体部</option>
                    <option value="财务部">销售部</option>
                </select><br/><br/>
                
                出生日期：<input class="date" type="datetime-local" name="date_of_birth" <?php echo $row['date_of_birth']  ?> /><br/><br/>
                入职日期：<input class="date" type="datetime-local" name="date_of_entry" />
                <p class="tow">
                    <input type="radio" name="e_img" value="imagse/1.jpg" <?php if($row['e_img']=="imagse/1.jpg") echo"checked='checked'"?> /><img src=" imagse/1.jpg" alt="" />
                    <input type="radio" name="e_img" value="imagse/2.jpg" <?php if($row['e_img']=="imagse/2.jpg") echo"checked='checked'"?>/><img src=" imagse/2.jpg" alt="" />
                    <input type="radio" name="e_img" value="imagse/3.jpg" <?php if($row['e_img']=="imagse/3.jpg") echo"checked='checked'"?>/><img src=" imagse/3.jpg" alt="" />
                    <input type="radio" name="e_img" value="imagse/4.jpg" <?php if($row['e_img']=="imagse/4.jpg") echo"checked='checked'"?>/><img src=" imagse/4.jpg" alt="" />
                </p>
                <input type="hidden"  name="id" value="<?php echo $row["e_id"]  ?>"/>
                <p id="btn"><input class="btn" type="submit" value="修改" /></p>
            </form>
        </div>
</div>
    </body>
</html>